package com.chenyuxin.ilp.model.dto.file;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CreateFolderDto {
    @NotNull
    private Long parentId;
    @NotBlank
    private String folderName;
    @Max(value = 3,message = "文件夹层级过多")
    private Integer level;
}
